package main

import (
	"github.com/gin-gonic/gin"
	"user_admin/config"
	"user_admin/inits"
	"user_admin/internal"
)

func main() {
	config.Init()
	inits.MysqlInit()
	inits.RedisInit()
	// 1.创建路由
	r := gin.Default()
	internal.RouteGroup(r)

	r.Run(":9991")

}
